home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1996 / MacHack 1996.toast / Hacks / Hacks ’92 / Run & Stumpy / source / bootblock.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-19  |  328 b   |  25 lines  |  [TEXT/MPS ]

  1. #ifndef bootblock_h
  2. #define bootblock_h
  3.  
  4. #include <memory.h>
  5.  
  6. #ifndef inttypes_h
  7. #include "inttypes.h"
  8. #endif
  9.  
  10. class bootblock
  11.   {
  12.     private:
  13.         char data[1024];
  14.     
  15.         void insert( Handle, uint32& position );
  16.         void zero( uint32 from);
  17.         
  18.     public:
  19.         bootblock();
  20.         
  21.         OSErr install( const FSSpec& volume );
  22.   };
  23.  
  24. #endif bootblock_h
  25.